let base=process.env.NODE_ENV === 'production'?'':'/api'

let config={
  baseUrl:base+'/cms-service',//本地环境，在vue.config.js配置代理
  staticUrl:base, //图片，资源访问前缀
}

window.getUploadFileUrl = () => {
  return config.baseUrl+'/v1/resource/';
};

export default config
